package com.jekun.helloworld.designmode.command.demo02;

import lombok.Getter;
import lombok.Setter;

/**
 * @author Administrator
 */
@Getter
@Setter
public class Adder {
    private int num = 0;

    public int add(int value) {
        num += value;
        return num;
    }
}